package com.gun.management.module.raffle.controller.admin.lotteryrule.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 抽奖规则 Response VO")
@Data
@ExcelIgnoreUnannotated
public class LotteryRuleRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "25009")
    @ExcelProperty("编号")
    private Long id;

    /**
     * 产品编号
     */
    @Schema(description = "产品id", example = "1")
    @ExcelProperty("产品编号")
    private Long productId;


    /**
     * sku编号
     */
    @Schema(description = "sku编号", example = "1")
    @ExcelProperty("sku编号")
    private Long skuId;

    @Schema(description = "sku名称",  example = "白色")
    @ExcelProperty("sku名称")
    private String sku;

    @Schema(description = "奖品头像")
    @ExcelProperty("奖品头像")
    private String avatar;

    @Schema(description = "奖品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("奖品名称")
    private String name;

    @Schema(description = "奖品类型(对应数据字典su_goods_type)", example = "4255")
    @ExcelProperty("奖品类型(对应数据字典su_goods_type)")
    private Long categoryId;

    @Schema(description = "提示语")
    @ExcelProperty("提示语")
    private String prompt;

    @Schema(description = "奖品概率")
    @ExcelProperty("奖品概率")
    private Integer prizeProbability;

    @Schema(description = "奖品个数限制")
    @ExcelProperty("奖品个数限制")
    private Integer prizeqty;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态")
    private Integer status;


    @Schema(description = "备注",  example = "备注:限制添加规则数量默认值为0")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}